import request from '../utils/request'

export default {

// 获取词汇列表
// getWordListPage(current, limit, wordQuery) {
//     return request({
//       url: `/word/pageWordCondition/${current}/${limit}`,
//       method: 'post',
//       // params
//       //这里不能用params,
//       //wordQuery条件对象，后端使用RequestBody获取数据
//       //data表示把对象转换json 然后传递到接口里面
//       data: wordQuery
//     })
//   },
  // 获取规则列表
  upload(formData,onProgress,requestList) {
    return request({
        url: "/upload",
        method: 'post',
        data: formData,
        onProgress,
        requestList
      })
  },
  
  merge(data){
    return request({
        url: "/merge",
        method: 'post',
        headers: {
            "content-type": "application/json",
        },
        data:data
    })
  },

  verify(data){
    return request({
        url: "/verify",
        method: 'post',
        headers: {
            "content-type": "application/json",
        },
        data:data
    })
  }



}
